package com.hncc.dms.service.impl;

import com.hncc.dms.domain.vo.PatientBillsVo;
import com.hncc.dms.mapper.OutPatientMapper;
import com.hncc.dms.service.OutPatientService;
import com.hncc.pms.domain.PmsPatient;
import com.hncc.dms.domain.vo.PmsPatientVo;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @author 荣陈
 * @date 2020/9/9 22:51
 */
@Service
public class OutPatientServiceImpl implements OutPatientService {
    @Resource
    private OutPatientMapper outPatientMapper;

    @Override
    public List<PatientBillsVo> selectPatientBills(Integer registrationId) {
        return outPatientMapper.selectPatientBills(registrationId);
    }

    @Override
    public List<PmsPatient> getPatientInfo(PmsPatientVo patientVo) {
        return outPatientMapper.getPatientInfo(patientVo);
    }
}
